//最简单的饼图
var myChart = echarts.init(document.getElementById("t1"));
var option1 = {
    series: [{
        type:"pie",
        data:[1,2,3,4],
    }],
        
};
myChart.setOption(option1);